package com.sservice.service.service;

import com.sservice.model.entity.SearchRecord;
import com.sservice.model.vo.SearchRecordVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */


public interface ISearchRecordService {
    int deleteByPrimaryKey(Integer id);

    int insert(SearchRecord record);

    int insertSelective(SearchRecord record);

    SearchRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SearchRecord record);

    int updateByPrimaryKey(SearchRecord record);
    void log(String keyword, HttpServletRequest request, String type);
    List<SearchRecord> queryByPage(SearchRecordVo asv);

    int queryCount(SearchRecordVo asv);
}
